<template>
  <view>
    <button wx:if="{{userInfo == null}}" bindtap="login">登录</button>
    <button wx:if="{{userInfo !== null}}" bindtap="loginOut">退出登录</button>
  </view>
</template>

<script>
export default {};
</script>

<style>
</style>